//
//  DDVisitorLoginIView.m
//  SinaMicroBlogOC
//
//  Created by dqw on 15/7/29.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import "DDVisitorLoginIView.h"

@interface DDVisitorLoginIView ()

@property (strong, nonatomic) UIImageView *icon;
@property (strong, nonatomic) UIImageView *imgHome;
@property (strong, nonatomic) UILabel *messageLab;
@property (strong, nonatomic) UIButton *loginBtn;
@property (strong, nonatomic) UIButton *registerBtn;


@end

@implementation DDVisitorLoginIView






- (void)loadSubViews{
    self.icon = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"visitordiscover_feed_image_smallicon"]];
    self.imgHome = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"visitordiscover_feed_image_house"]];
    
    self.messageLab = [[UILabel alloc]init];
    self.messageLab.font = [UIFont systemFontOfSize:14];
    self.messageLab.text = @"关注一些人，回这里看看有什么惊喜关注一些人，回这里看看有什么惊喜";
    [self.messageLab sizeToFit];
    self.messageLab.textColor = [UIColor darkGrayColor];
    self.messageLab.textAlignment = NSTextAlignmentCenter;
    self.messageLab.numberOfLines = 0;
    
    self.loginBtn = [[UIButton alloc]init];
    [self.loginBtn setTitle:@"登陆" forState:UIControlStateNormal];
    [self.loginBtn setImage:[UIImage imageNamed:@"common_button_white_disable"] forState:UIControlStateNormal];
    
    self.registerBtn = [[UIButton alloc]init];
    [self.registerBtn setTitle:@"注册" forState:UIControlStateNormal];
    [self.registerBtn setImage:[UIImage imageNamed:@"common_button_white_disable"] forState:UIControlStateNormal];
    
    [self addSubview:self.icon];
    [self addSubview:self.imgHome];
    [self addSubview:self.messageLab];
    [self addSubview:self.loginBtn];
    [self addSubview:self.registerBtn];  
}



@end
